<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <#include "/common/common_head.ftl">
  </head>

  <body style="padding-top:0px">
			<!-- 主内容区域 S -->
 		<div class="" id="mainBoard">
		<!-- 导航路径 S -->
		<ol class="breadcrumb">
		  <li><a href="#">版本管理</a></li>
		  <li class="active">查看版本信息</li>
		  <li><a href="list.do?page=${page}">返回</a></li>
		</ol>
		<!-- 导航路径 E -->

		<!-- 标题区 S -->
		<h2 class="sub-header">查看版本信息</h2>
		<!-- 标题区 E -->

		<!-- 内容区 S -->
        <#if version??>
		<form>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">应用名称</span>
                <div class="form-control">${version.appName?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">应用标识</span>
                <div class="form-control">${version.appKey?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">文件类型</span>
               <div class="form-control">
                    <#if version.fileType == 1>版本</#if>
                    <#if version.fileType == 2>补丁</#if>
               </div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">文件路径</span>
                <div class="form-control">${version.fileUrl?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">版本编号</span>
                <div class="form-control">${version.versionCode?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">版本名称</span>
                <div class="form-control">${version.versionName?if_exists}</div>
            </div>
             <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">补丁编号</span>
                <div class="form-control">${version.patchCode?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">补丁名称</span>
                <div class="form-control">${version.patchName?if_exists}</div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">更新日志</span>
               <textarea rows="5" cols="20" readonly=readonly class="form-control" placeholder="changeLog" aria-describedby="basic-addon5" name="changeLog">${version.changeLog?if_exists}</textarea>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">强制更新</span>
                <div class="form-control">
                	<#if version.enforce == 1>是</#if>
                    <#if version.enforce == 0>否</#if>
                </div>
            </div>
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon2">描述信息</span>
                <div class="form-control">
                	${version.remark}
                </div>
            </div>
		</form>
        </#if>
		<!-- 内容区 E -->
 		<!-- 主内容区域 E -->
		
 	</div>
  </body>
</html>
